package cqie.personal.frame.bo;

import cqie.personal.frame.exception.ValidationFailException;
import lombok.Data;

@Data
public class ModifyCourseBO {
    private Integer id;
    private Integer courseId;
    private Integer uid;
    private Integer classId;
    private Integer operator;

    public void validation() throws ValidationFailException {
        if(courseId==null||uid == null||classId == null){
            throw new ValidationFailException("sao le dong xi , zai kan kan");
        }
    }
}
